//***********************************************************************
//		PP2_9.java		Author:GK
//
//		Convert seconds into the hours,minutes,seconds.
//***********************************************************************

import java.util.Scanner;

public class PP2_9
{
	public static void main(String[] args)
	{
	int time,hours,minutes,seconds;

	Scanner scan = new Scanner(System.in);

	System.out.println("请输入以秒数为单位的时间：");
	time = scan.nextInt();

	hours = time / 3600;
	minutes = (time % 3600) / 60;
	seconds = (time - hours * 3600 - minutes * 60);

	System.out.println("等于：" + hours + "小时" + minutes + "分钟"
	+ seconds + "秒");
	}
}
